<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
<script type="text/javascript" src="/resource/js/admin/leavemessagedetail.js"></script>
</head>
<body>
    <div class="position"><span>您的当前位置：</span>大众留言 > <a href="./">留言管理</a> > 查看详细</div>
    <div class="rightbody m">
		<div class="rightbodycontent">
			<table cellspacing="1" cellpadding="4" class="tableedit">
			    <tr>
			        <td>留言者：</td>
			        <td>${leavemessage.username}</td>
		        </tr>
		        <tr>
			        <td>留言内容：</td>
			        <td><#if leavemessage.contents??>${leavemessage.contents?replace("\n","<br />")?html}</#if></td>
		        </tr>
		        <tr>
			        <td>留言时间：</td>
			        <td>${leavemessage.subtime?string('yyyy-MM-dd HH:mm:ss')}</td>
		        </tr>
			</table>
		</div>
	</div>
	<div class="rightfoot">
		<div class="rightfootcontent">
    		<input type="button" value="返回" class="return" onclick="history.back()" />&nbsp;
			<#if !leavemessage.checked>
    			<input type="button" value="通过" class="checkpass" onclick="location.replace('checkpass?leavemessageid=${leavemessage.id}')" />&nbsp;
            </#if>
    		<input type="button" value="删除" class="checkturndown" onclick="delmsg(${leavemessage.id})" />
        </div>
    </div>
</body>
</html>